Workaround bug in xmlrpclib's string escaping. That library outputs invalid
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 4 Apr 2006 10:08:20 +0000 (11:08 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 4 Apr 2006 10:08:20 +0000 (11:08 +0100)
commitc0693d2c6e8800a274b280220254c42eafd2aecd
tree2c3cfc15161756b328fcf451e5a750c6bac45158
parentaf37573f2c64cec3f5330f8fe7c39a1aa29737ff
Workaround bug in xmlrpclib's string escaping.  That library outputs invalid
UTF-8 if given a string containing high-bit characters, so instead pass in
Unicode strings, for which the escaping is correct.

This fixes a bug seen when the dmesg of a machine contains high bit characters,
but I'm sure there are other ways in which it might be triggered.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/util/xmlrpclib2.py